<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>日历日期禁用 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../../locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
	<h2 title="Disable Calendar Date">日历日期禁用</h2>
	<p title="This example shows how to disable specified dates, only allows the user to select Mondays.">　　本例展示如何禁用特定日期，仅允许用户选择星期一的几天（4~6）。</p>
	<div style="margin:20px 0"></div>
	
	<div class="easyui-calendar" style="width:250px;height:250px;" data-options="validator: function(date){if(date.getDay()==1){return true;} else{return false;}}"></div>

</body>
</html>